EasyBooking\Settings_General S

Total Complexity 48
Dependencies 2
Dependents 0
Total lines 414
Lines of code 217
Logical lines of code 49
Comment lines 114
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
get_settings()
A
57 9 14
maybe_make_all_products_bookable()
S
57 5 15
register_settings()
S
58 3 16
init_settings()
S
68 3 7
booking_max()
S
59 2 14
booking_min()
S
59 2 14
booking_duration()
S
60 2 14
last_available_date()
S
60 2 13
first_available_date()
S
60 2 13
number_of_dates()
S
61 2 12
booking_mode()
S
61 2 12
add_settings_fields()
S
62 2 12
__construct()
S
58 1 16
all_bookable()
S
65 2 9
general_settings_tab()
S
77 1 4
add_settings_sections()
S
70 1 8
settings()
S
73 1 6
sanitize_all_bookable()
S
80 1 3
sanitize_booking_duration()
S
80 1 3
sanitize_booking_min()
S
80 1 3
sanitize_booking_max()
S
80 1 3
sanitize_first_available_date()
S
80 1 3
sanitize_last_available_date()
S
80 1 3